package entity;

public class Remuneracao {
 
	private int id_remuneracao;
	 
	private String nome;

    public int getId_remuneracao() {
        return id_remuneracao;
    }

    public void setId_remuneracao(int id_remuneracao) {
        this.id_remuneracao = id_remuneracao;
    }

    public String getNome() {
        return nome;
    }

    public void setNome(String nome) {
        this.nome = nome;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Remuneracao other = (Remuneracao) obj;
        if (this.id_remuneracao != other.id_remuneracao) {
            return false;
        }
        if ((this.nome == null) ? (other.nome != null) : !this.nome.equals(other.nome)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 61 * hash + this.id_remuneracao;
        hash = 61 * hash + (this.nome != null ? this.nome.hashCode() : 0);
        return hash;
    }

    @Override
    public String toString() {
        return "Remuneracao{" + "id_remuneracao=" + id_remuneracao + "nome=" + nome + '}';
    }
         
}
 
